﻿@model WebUI.Models.Catalog
@using (Ajax.BeginForm(new AjaxOptions()
{
    LoadingElementId = "OnLoadingSpan",
    UpdateTargetId = ViewBag.utid,
    InsertionMode = System.Web.Mvc.Ajax.InsertionMode.Replace,
    HttpMethod = "Post",
    OnSuccess = "$('#dialogbox').dialog('close');",
    OnFailure = "OnSiteError"
}))
{
    @Html.Hidden("ID")
    <div style="height: 400px; overflow: auto;">
        <ul id="qizitemtreeview">
            <li id="sft02001">
                @Html.Partial("SuiFangTree2")
            </li>
        </ul>
    </div>
    <p>
        <input class="ui-button" type="submit" value="保存" />
    </p>
    
}
<script type="text/javascript">
    $(function () {
        $("#qizitemtreeview").treeview();
    });
</script>
